import random
class magicstudent:
    def __init__(self,name,magic_power,spell_list):
        self.name=name
        self.magic_power=magic_power
        self.spell_list=spell_list
        self.health=100
    def cast_spell